#include<iostream>
using namespace std;
int operacion(int n1, int n2, char op);
int main ()
{
    int a;
    int b;
    char c;
    cin>>a;
    cin>>b;
    cin>>c;
    cout<<operacion(a,b,c);
    return 1;
}
int operacion(int n1, int n2, char op)
{
    switch(op)
    {
        case'+':
            return n1+n2;
            break;
        case'-':
            return n1-n2;
            break;
        case '*':
            return n1*n2;
            break;
        case'/':
            return n1/n2;
    }
}
